<?php
/*
 * _changePasswordForm File
 *
 * @link http://riedel-st.de
 * @author Stefan Riedel <sr@riedel-st.de>
 */

?>
<?= CHtml::beginForm( array('changePassword') ,'post',array('id' => 'changePasswordForm')); ?>
<div id="error"><?= CRMHtml::errorSummary($passwordChangeMeModel); ?></div>
<dl>
    <dt><?=CHtml::activeLabelEx($passwordChangeMeModel,'oldPassword')?></dt>
    <dd><?=CHtml::activePasswordField($passwordChangeMeModel,'oldPassword')?></dd>
    <dt><?=CHtml::activeLabelEx($passwordChangeMeModel,'newPassword')?></dt>
    <dd><?=CHtml::activePasswordField($passwordChangeMeModel,'newPassword')?></dd>
    <dt><?=CHtml::activeLabelEx($passwordChangeMeModel,'newPasswordConfirm')?></dt>
    <dd><?=CHtml::activePasswordField($passwordChangeMeModel,'newPasswordConfirm')?></dd>
    <dt>&nbsp;</dt>
    <dd><?= CRMHtml::ajaxButtonInTab(
                Yii::t('crm', 'Speichern'),
                array('changePassword'),
                'savePassword',
                '#changePasswordForm');?>
        <?= CRMHtml::ajaxButtonInTab(Yii::t('crm', 'Abbrechen'), array('cancel'), 'cancel', '#addItems', 'GET')?>
    </dd>
</dl>
<?= CHtml::endForm()?>